WPStaging\Framework\Filesystem\Filesystem D

Total Complexity 176
Dependencies 16
Dependents 38
Total lines 1,092
Lines of code 549
Logical lines of code 339
Comment lines 329
Methods 44
Properties 9

Methods 44

Method Rating Maintainability Complexity Lines of code
delete()
C
36 26 78
move()
B
43 18 47
copy()
A
44 14 45
moveDirRecursively()
A
48 11 33
deleteItem()
A
51 9 30
fnmatch()
A
49 8 29
create()
S
55 7 20
isReadableFile()
S
55 7 20
isFilenameExcluded()
S
57 6 18
deletePaths()
S
58 6 15
mkdir()
S
52 5 23
findFilesInDir()
S
58 4 15
moveFileOrDir()
S
58 4 15
isWpstgBackupFile()
S
60 4 13
normalizePath()
S
61 4 12
maybeNormalizePath()
S
69 4 6
renameDirect()
S
62 3 11
trailingSlashit()
S
65 3 9
removeSymlink()
S
71 2 6
getFileNames()
S
80 2 3
recursiveCreateDirectory()
S
71 2 6
isEmptyDir()
S
69 2 7
findPath()
S
80 2 3
safePath()
S
65 2 9
log()
S
69 2 7
setProcessedCount()
S
81 1 3
tmpDestinationPath()
S
69 1 7
getProcessedCount()
S
82 1 3
handleMkdirError()
S
79 1 3
isWindowsOs()
S
81 1 3
__construct()
S
76 1 4
createWithMarkers()
S
78 1 3
setLogger()
S
77 1 4
addFileName()
S
76 1 4
setFileNames()
S
77 1 4
getLogs()
S
82 1 3
getDepth()
S
82 1 3
setShouldStop()
S
77 1 4
getShouldStop()
S
82 1 3
setPath()
S
77 1 4
getPath()
S
82 1 3
shouldPermissionExceptionsBypass()
S
77 1 4
arePermissionExceptionsBypassed()
S
82 1 3
setDepth()
S
77 1 4